package com.osgi.desktop.actions;

import com.onetwork.core.actions.AbrirCadastroAction;
import com.osgi.desktop.ui.plugins.GerenciamentoDePluginsPanel;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.JTabbedPane;
import javax.swing.KeyStroke;

public class InstalarPluginsAction extends AbrirCadastroAction {
    private static final long serialVersionUID = 1L;
    public InstalarPluginsAction(JTabbedPane tabbedPane) {
        super("Plugins", tabbedPane, new GerenciamentoDePluginsPanel());
        this.putValue(SHORT_DESCRIPTION, "Abre formulario para instalacao de plugins");
        this.putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_I, ActionEvent.ALT_MASK));
    }
}
